<template>
    <section class="box" style="overflow:hidden">
        <div>
            <div style="margin: 0 30px;">
                <div class="demo-collapse">
                    <el-collapse v-model="activeNames" @change="handleChange">
                        <el-collapse-item :title="title" name="1">
                            <slot name="piebox"></slot>
                        </el-collapse-item>
                    </el-collapse>
                </div>
            </div>
        </div>
    </section>
</template>
<script>
export default {
    props: {
        title: {
            type: String,
            required: true
        }
    },

    data() {
        return {

            activeNames: ['1'],

        }
    }
}
</script>
<style>
@import "@/views/personalCenter/css/index.css";
</style>